package com.yao.shop.mapper;

import com.yao.shop.common.Page;
import com.yao.shop.pojo.ShopPack;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ShopPackMapper {
    void save(ShopPack shopPack);

    void update(ShopPack shopPack);

    ShopPack get(Long id);

    void delete(Long id);

    List<ShopPack> getByPage(Page<ShopPack> page);

    Integer countByPage(Page<ShopPack> page);
}
